package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Address;

import java.util.List;

public interface AddressDao {

    public List<Address> findAllPoint();
    public Page<Address> selectByCondition(String condition);
    public void deleteById(Integer id);
    public void add(Address address);
    public Integer getIdByAddress(String address);
    public void delRelOrederAndress(Integer address_id);
    public long findCountByAddressId(Integer address_id);
    Address findById(Integer id);
    void edit(Address address);
}
